package cn.hicard.risk.dao.bd;

import java.util.List;
import java.util.Map;

import cn.hicard.core.Page;
import cn.hicard.core.PageResult;
import cn.hicard.core.Where;
import cn.hicard.risk.entity.BdMerchinfo;

public interface MerchInfoDao {
	
	/**
	 * 查询商户资料List
	 */
	public PageResult <Map<String, Object>> getMerchList(Where where, Page page)throws Exception;
	
	public List<BdMerchinfo> findList(Where where) throws Exception;
	
	/**
	 * 黑名单，灰名单报表下载
	 */
	public List<Object[]> getMerchReportList(Where where) throws Exception;
	
	public void save(BdMerchinfo bdMerchinfo) throws Exception;
	
	public void update(BdMerchinfo bdMerchinfo) throws Exception;
	
	public void getOne(int id) throws Exception;
	
	/**
	 * 获取限额商户列表
	 */
	public List<BdMerchinfo> findLimitMerch()throws Exception;
	
	public BdMerchinfo getOne(BdMerchinfo merch) throws Exception;
}
